package com.example.mypresentationdemo.presentationViews;

import android.content.Context;
import android.util.Log;
import android.widget.TextView;

import androidx.annotation.NonNull;

import com.example.mypresentationdemo.R;
import com.example.presentation_libary.presentationViews.BasePresentionView;

/**
 * 我是广告的
 */
public class DislayAdvView extends BasePresentionView {


    public DislayAdvView(@NonNull Context context, String mjson) {
        super(context, mjson);
    }

    @Override
    public int getLayoutId() {
        return R.layout.view_auxiliary_ad;
    }


    public void initEvent() {
        Log.i("==DislayAdvView==",json);
        TextView advTv = rootView.findViewById(R.id.tv_adv_content);
        advTv.setText(json + " 哈哈哈");

    }
}
